package com.aiguigu.lottery.common.enums;

/**
 * 用户类型枚举
 */
public enum UserTypeEnum {
    STUDENT("student", "学生"),
    TEACHER("teacher", "老师");
    
    private final String code;
    private final String description;
    
    UserTypeEnum(String code, String description) {
        this.code = code;
        this.description = description;
    }
    
    public String getCode() {
        return code;
    }
    
    public String getDescription() {
        return description;
    }
}